import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';

//日志打印

async function bootstrap() {
  const app = await NestFactory.create(AppModule,{
    //关闭日志
    // logger: false
    
    //指定输出级别日志
    logger : ['log','error']
  });
  await app.listen(3000);
}
bootstrap();
